package cn.wolfcode.cloud.shop;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.reflect.Member;

/**
 * @Description: 用户业务服务器
 * @Author: 伍家钰
 * @Date: 2020/9/5 19:36
 * @Version: 1.0
 */
@SpringBootApplication
// 开启远程调度功能
@EnableFeignClients
// 开启降级功能
@EnableCircuitBreaker
public class MemberServerApp {
    public static void main(String[] args) {
        SpringApplication.run(MemberServerApp.class,args);
    }
}
